const Router = require('koa-router')

const router = new Router({prefix:'/upload'})
const { auth,hasAdminPermission } = require('../middleware/auth.middleware')

const { uploadImg } = require('../controller/upload')

router.post('/',uploadImg)

module.exports = router